package cn.jiyun.ai.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("p_doctor")
public class Doctor {
    @TableId(type= IdType.AUTO)
    private Integer id;

    @TableField("avatar")
    private String avatar;

    @TableField("name")
    private String name;

    @TableField("position")
    private String position;

    @TableField("activity_level")
    private Integer activityLevel;

    @TableField("count")
    private Integer count;

    @TableField("answered_questions_one")
    private String answeredQuestionsOne;

    @TableField("answered_questions_two")
    private String answeredQuestionsTwo;

    @TableField("user_id")
    private Integer userId;
}
